﻿<%@ page language="java" pageEncoding="UTF-8"%>
<%@ include file="/common/taglibs.jsp" %>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
    <head>
		<meta name="title" content="${video.title}"/>
		<meta name="keywords" content=""/>
		<meta name="description" content=""/>
		<meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
		<title>${video.title}</title>
		<link rel="stylesheet" type="text/css" href="<%=request.getContextPath()%>/css/styles.css" />
	    <link rel="stylesheet" type="text/css" href="<%=request.getContextPath()%>/css/menu.css" media="screen" />
		<script type="text/javascript"
			src="<%=request.getContextPath()%>/js/jquery-1.4.min.js"></script>
		<script type="text/javascript" src="<%=request.getContextPath()%>/js/inc/jquery.metadata.js"></script>
		<script type="text/javascript" src="<%=request.getContextPath()%>/js/inc/jquery.hoverIntent.js"></script>
		<script type="text/javascript" src="<%=request.getContextPath()%>/js/inc/mbMenu.js"></script>
	    <script type="text/javascript" src="${ctx}/js/flowplayer-3.2.6.min.js"></script>
		
		<script type="text/javascript">
		  $(function(){
		    $(".myMenu").buildMenu(
		    {
		      template:"<%=request.getContextPath()%>/common/menuVoices.html",
		      additionalData:"pippo=1",
		      menuWidth:200,
		      openOnRight:false,
		      menuSelector: ".menuContainer",
		      iconPath:"<%=request.getContextPath()%>/images/ico/",
		      hasImages:true,
		      fadeInTime:100,
		      fadeOutTime:300,
		      adjustLeft:2,
		      minZindex:"auto",
		      adjustTop:10,
		      opacity:.95,
		      shadow:false,
		      shadowColor:"#ccc",
		      hoverIntent:0,
		      openOnClick:true,
		      closeOnMouseOut:false,
		      closeAfter:1000,
		      submenuHoverIntent:200
		    });
				    
		  });
		</script>
		<script language='JavaScript'>
		<!--
		function doZoom(size){
			document.getElementById('news-content-div').style.fontSize=size+'px'
		}
		function doPrint() {
			bdhtml=window.document.body.innerHTML;
			sprnstr="<!--startprint-->";
			eprnstr="<!--endprint-->";
			prnhtml=bdhtml.substr(bdhtml.indexOf(sprnstr)+17);
			prnhtml=prnhtml.substring(0,prnhtml.indexOf(eprnstr));
			window.document.body.innerHTML=prnhtml;
			document.getElementById('print-news').style.display = "none";
			window.print();
		}
		// -->
		</script>
    </head>
	<body>
	    <jsp:include page="/common/header.jsp"/>
		<div id="container">
		   <div class="location">
		      <span class="location-tip">当前位置 ：</span><a href="<%=request.getContextPath()%>/">首页</a>>
		      <c:if test="${fn:length(list)>0}">
		         <c:forEach items="${list}" var="varTemp" varStatus="varStatusTemp">
		            <c:if test="${varStatusTemp.last}">
		            ${varTemp.name}
		            </c:if>
		            <c:if test="${!varStatusTemp.last}">
		            ${varTemp.name}>
		            </c:if>
		         </c:forEach>
		      </c:if>
		   </div>
		   <!--startprint-->
		   <div class="news">
			   <div class="news-title">${video.title}</div>
			   <div class="news-subtitle">
			      <div class="news-subtitle-1">
			   时间：<fmt:formatDate value="${video.createdTime}" type="date"/>&nbsp;&nbsp;
			      </div>
			   </div>
			   <div class="news-content">
			        <c:if test="${video.videoPath!=null}">
			        <a href="${ctx}${FLV_VIDEO_PATH}${video.videoPath}" style="display:block;width:800px;height:565px;" id="player"></a>
					<script language="JavaScript">
						flowplayer("player", "${ctx}/resources/flowplayer-3.2.7.swf", {
							clip:  {
								autoPlay: true,
								autoBuffering: true
							}
						});
					</script>
			        </c:if>
			   </div>
			   <div id="print-news">
			   <span><a href="#" onclick="javascript:doPrint();">打印本页</a></span><span>【字体：<a href="#" onclick="javascript:doZoom(24);">大</a><a href="#" onclick="javascript:doZoom(16);">中</a><a href="#" onclick="javascript:doZoom(13);">小</a>】</span><span><a href="#" onclick="window.close();">关闭本页</a></span>
			   </div>
		   </div>
		   <!--endprint-->
		</div>
		<div class="clear-both"></div>
		<div id="footer">
		  <div class="footer-itme">
		  版权所有 全国新农村建设产业化发展办公室
		  </div>
		  <div class="footer-itme">
		  电话:010-66094639 传真：010-66094640 地址:北京市复兴门内大街国管局45号院
		  </div>
		  <div class="footer-itme">
		  京ICP备06065797 网站保留所有权利，未经允许不得复制、镜像
		  </div>
		</div>
	</body>
</html>
